{extend name="index/index"}
{block name="content"}
<form action="{:url('admin/Member/update', ['id'=>$data['id']])}" class="am-form" method="post">
  <fieldset>
    <legend>用户编辑</legend>
    <div class="am-form-group">
      <input type="hidden" name="_method" value="PUT" >
      <input type="hidden" name="id" value="{$data['id']}">
      <label for="doc-vld-name">用户名：</label>
      <input type="text" id="doc-vld-name" name="name" placeholder="输入用户名" class="am-form-field" value="{$data['name']}" required/>
      <input type="submit" value="提交" class="am-btn am-btn-default am-btn-xs am-text-secondary">
    </div>
  </fieldset>
</form>
{/block}